<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <title>代理卡订单</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta name="author" content="刘代应">
	<meta name="hashcode" content="1767275762">
	
	<script>window.duteTag="lz";</script>
	<script type="text/javascript" src="/admin/js/dute-1.0.js"></script>
	<script type="text/javascript" src="/admin/js/jquery-1.7.1.min.js"></script>
	
	<script type="text/javascript" src="/admin/js/lazy3q.ui.js"></script>
	<script>
		document.write('<link rel="stylesheet" type="text/css" href="/admin//css/'+($.cookie('theme')||'elegant')+'/lazy3q.ui.css" /> ');
	</script>
	
	<script type="text/javascript" src="/admin/js/jquery-ui-1.10.2.custom.min.js"></script>
	
	<!-- 用户自定义js(懒加载) -->
	<script type="text/javascript" src="/admin/js/define.js"></script>
	<!-- 用户自定义css样式 -->
	<link rel="stylesheet" type="text/css" href="/admin/css/define.css"/>
	<!-- icon font -->
  	<link rel="stylesheet" href="/admin/css/iconfont.css">
	
	
	
	<script type="text/javascript">
		window.basePath="/";
		window.hashcode = "1767275762";
	</script>
		
	<!-- 感谢kindeditor出品的在线HTML编辑控件 -->
	<script type="text/javascript" charset="utf-8" src="/admin/js/kindeditor/kindeditor.js"></script>
		
	<!-- 感谢My97DatePicker出品的时间控件 -->
	<script language="javascript" type="text/javascript" src="/admin/js/My97DatePicker/WdatePicker.js"></script>
	
	<!------------------------VIEW_HTML_HEAD------------------------>
	<!------------------------VIEW_HTML_HEAD------------------------>	
	
</head>
<script>
Page({
  data:{
    
  },
  onLoad: function(options) {
  	var THIS = this;
  	THIS.setData(options);
  	$.getAjax("agencycardorder.get.do",options,function(protocol){
  		if(protocol.message){
  			$.toast(protocol.message);
  		}
  		document.title={
  			 "insert":"创建代理卡订单"
  			,"inport":"导入代理卡订单"
  			,"update":"修改代理卡订单"
  			,"detail":"代理卡订单详情"
  			
  			
			
  		}[options.edittype];
  		THIS.setData(protocol.data); 
  		
  		/******************VIEW_HTML_SET_DATA******************/
  		/******************VIEW_HTML_SET_DATA******************/
  	});
  }
});
</script>

<script>
window["lzFlashUrl"]=top.lzFlashUrl||"/admin/flash/";
window["uploadUrl"]=top.uploadUrl||"/admin/upload.do";

$(function(){
		 
	$("#agencycardorderForm").form({
		"":function(){}
		,"agentCardOrder.id":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"agentCardOrder.orderNumber":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "订单编号最大长度为32个字符";
		}
		,"agentCardOrder.merchant":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"agentCardOrder.uid":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "用户编号最大长度为32个字符";
		}
		,"agentCardOrder.member":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"agentCardOrder.agentCard":function(el){
		}
		,"agentCardOrder.formid":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "formId最大长度为32个字符";
		}
		,"agentCardOrder.payMoney":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
				var pattern = /^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;
				if(el.value!="" && !pattern.test(el.value))
					return "支付金额输入格式错误";
		}
		,"agentCardOrder.payTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "支付时间不能为空";
			}
		}
		,"agentCardOrder.payStatus":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "请选择支付状态";
			}
		}
		,"agentCardOrder.updateTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "修改时间不能为空";
			}
		}
		,"agentCardOrder.addTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "添加时间不能为空";
			}
		}
		,"agentCardOrder.status":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "请选择状态";
			}
		}
	},function(){
		/******************************LAZY3Q_FORM_VALIDATE******************************/
		/******************************LAZY3Q_FORM_VALIDATE******************************/
	});		
});
</script>
 
<body style="display:none;">



<!------------------------VIEW_HTML_TOP------------------------>
<!------------------------VIEW_HTML_TOP------------------------>




<form enctype="{{inports!=null?'multipart/form-data':''}}" lz:if="{{edittype=='insert'||edittype=='update'||edittype=='detail'||edittype=='any'||edittype=='inport'}}" class="form editform edittype_{{edittype}}" ref="AgentCardOrder" id="agencycardorderForm" name="agencycardorderForm" target="jsoniframe" action="agencycardorder.{{edittype=='any'?'update':edittype}}.do" method="post">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<div lz:if="{{edittype!='detail'}}" class="prompt" style="display:none;">
				温馨提示：请仔细填写代理卡订单相关信息，<span class="extrude">"*" 为必填选项。</span>
			</div>
			<br/>
			<lz:block lz:if="{{message}}">
			<br/>
			<center>
				<font color="red"><h4>{{message}}</h4></font>
			</center>
			<br/>
			</lz:block>
			<input type="hidden" value="{{complete}}" name="complete" id="complete" />
			<input type="hidden" value="{{ids}}" name="ids" id="ids" />
			<textarea name="PARAMS" id="PARAMS" style="display:none">{{PARAMS}}</textarea>
			
			
			<lz:block lz:if="{{inports}}">
			  <div class="line"></div>
			  <dl style="width:98%;">
			  	<dt>Excel文件:</dt>
			  	<dd>
			  		<input type="hidden" value="{{inports}}" name="inports" id="inports" />
			  		<input type="hidden" value="{{inport$}}" name="inport$" id="inport$" />
			  		<input name="file" name="file" type="file"/>
			  		<b>*</b>
			  		<div>
						请上传excel文件，表格列依次为：[{{inport$}}]，excel表格第一行为列名称，将不作为上传数据行
					</div>
			  	</dd>
			  </dl>
			  <div class="line"></div>
			</lz:block>
			
			
					
	{{lz.set("id_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"id"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"id"))))}}
	{{lz.set("id_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$id}}
	<dl lz:if="{{id_editable||id_readonly}}" class="id hidden " major  ref="id">
		<dt>编　　号:</dt>
		<dd lz:if="{{id_editable}}" input="hidden">
			<lz:block lz:if="{{agentCardOrder$id}}">
				{{agentCardOrder$id}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$id}}">
			<input type="hidden" value="{{lz.htm(agentCardOrder.id)}}" name="agentCardOrder.id" id="id" />
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{id_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="id">{{agentCardOrder.id}}</textarea>
		 		<span>
		 	
			 {{lz.html(agentCardOrder.id$||agentCardOrder.id)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$id}}
					
	{{lz.set("orderNumber_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"orderNumber"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"orderNumber"))))}}
	{{lz.set("orderNumber_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$orderNumber}}
	<dl lz:if="{{orderNumber_editable||orderNumber_readonly}}" class="ribs orderNumber  " major  ref="orderNumber">
		<dt>订单编号:</dt>
		<dd lz:if="{{orderNumber_editable}}" input="text">
			<lz:block lz:if="{{agentCardOrder$orderNumber}}">
				{{agentCardOrder$orderNumber}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$orderNumber}}">
		 	<input type="text" class="input narrow"   name="agentCardOrder.orderNumber" id="orderNumber"  value="{{lz.htm(agentCardOrder.orderNumber)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入代理卡订单的订单编号</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{orderNumber_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="orderNumber">{{agentCardOrder.orderNumber}}</textarea>
		 		<span>
		 	
			 {{lz.html(agentCardOrder.orderNumber$||agentCardOrder.orderNumber)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$orderNumber}}
					
	{{lz.set("merchant_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"merchant"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"merchant"))))}}
	{{lz.set("merchant_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$merchant}}
	<dl lz:if="{{merchant_editable||merchant_readonly}}" class="merchant  " major  ref="merchant">
		<dt>所属品牌:</dt>
		<dd lz:if="{{merchant_editable}}" input="query">
			<lz:block lz:if="{{agentCardOrder$merchant}}">
				{{agentCardOrder$merchant}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$merchant}}">
		 			<input title="请输入品牌信息品牌名称进行查询" class="combox narrow" action="/admin/business/merchant.query.do?value={param}" type="text" id="merchant" name="agentCardOrder.merchant" text="{{lz.html(agentCardOrder.merchant$||agentCardOrder.merchant)}}" value="{{lz.htm(agentCardOrder.merchant)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#merchant').val())==''){return;};window.href('/admin/business/merchant.detail.html?key='+$('#merchant').val())"></a>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{merchant_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="merchant">{{agentCardOrder.merchant}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/business/merchant.details.html?key=agentCardOrder.merchant}')">
			 {{lz.html(agentCardOrder.merchant$||agentCardOrder.merchant)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$merchant}}
					
	{{lz.set("uid_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"uid"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"uid"))))}}
	{{lz.set("uid_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$uid}}
	<dl lz:if="{{uid_editable||uid_readonly}}" class="uid  " major  ref="uid">
		<dt>用户编号:</dt>
		<dd lz:if="{{uid_editable}}" input="text">
			<lz:block lz:if="{{agentCardOrder$uid}}">
				{{agentCardOrder$uid}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$uid}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="agentCardOrder.uid" id="uid"  value="{{lz.htm(agentCardOrder.uid)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入代理卡订单的用户编号</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{uid_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="uid">{{agentCardOrder.uid}}</textarea>
		 		<span>
		 	
			 {{lz.html(agentCardOrder.uid$||agentCardOrder.uid)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$uid}}
					
	{{lz.set("nickName_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"nickName"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"nickName"))))}}
	{{lz.set("nickName_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$nickName}}
	<dl lz:if="{{nickName_editable||nickName_readonly}}" class="nickName  " major  ref="nickName">
		<dt>用户名称:</dt>
		<dd lz:if="{{nickName_editable}}" input="text">
			<lz:block lz:if="{{agentCardOrder$nickName}}">
				{{agentCardOrder$nickName}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$nickName}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="agentCardOrder.nickName" id="nickName"  value="{{lz.htm(agentCardOrder.nickName)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入代理卡订单的用户名称</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{nickName_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="nickName">{{agentCardOrder.nickName}}</textarea>
		 		<span>
		 	
			 {{lz.html(agentCardOrder.nickName$||agentCardOrder.nickName)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$nickName}}
					
	{{lz.set("member_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"member"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"member"))))}}
	{{lz.set("member_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$member}}
	<dl lz:if="{{member_editable||member_readonly}}" class="member  " major  ref="member">
		<dt>用　　户:</dt>
		<dd lz:if="{{member_editable}}" input="query">
			<lz:block lz:if="{{agentCardOrder$member}}">
				{{agentCardOrder$member}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$member}}">
		 			<input title="请输入会员信息昵称进行查询" class="combox narrow" action="/admin/users/member.query.do?value={param}" type="text" id="member" name="agentCardOrder.member" text="{{lz.html(agentCardOrder.member$||agentCardOrder.member)}}" value="{{lz.htm(agentCardOrder.member)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#member').val())==''){return;};window.href('/admin/users/member.detail.html?key='+$('#member').val())"></a>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{member_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="member">{{agentCardOrder.member}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/users/member.details.html?key=agentCardOrder.member}')">
			 {{lz.html(agentCardOrder.member$||agentCardOrder.member)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$member}}
					
	{{lz.set("agentCard_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"agentCard"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"agentCard"))))}}
	{{lz.set("agentCard_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$agentCard}}
	<dl lz:if="{{agentCard_editable||agentCard_readonly}}" class="ribs agentCard  " major  ref="agentCard">
		<dt>代 理 卡:</dt>
		<dd lz:if="{{agentCard_editable}}" input="query">
			<lz:block lz:if="{{agentCardOrder$agentCard}}">
				{{agentCardOrder$agentCard}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$agentCard}}">
		 			<input title="请输入代理卡配置名称进行查询" class="combox narrow" action="/admin/agents/agentconf.query.do?value={param}" type="text" id="agentCard" name="agentCardOrder.agentCard" text="{{lz.html(agentCardOrder.agentCard$||agentCardOrder.agentCard)}}" value="{{lz.htm(agentCardOrder.agentCard)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#agentCard').val())==''){return;};window.href('/admin/agents/agentconf.detail.html?key='+$('#agentCard').val())"></a>
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{agentCard_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="agentCard">{{agentCardOrder.agentCard}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/agents/agentconf.details.html?key=agentCardOrder.agentCard}')">
			 {{lz.html(agentCardOrder.agentCard$||agentCardOrder.agentCard)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$agentCard}}
					
	{{lz.set("formid_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"formid"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"formid"))))}}
	{{lz.set("formid_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$formid}}
	<dl lz:if="{{formid_editable||formid_readonly}}" class="formid  " major  ref="formid">
		<dt>formId:</dt>
		<dd lz:if="{{formid_editable}}" input="text">
			<lz:block lz:if="{{agentCardOrder$formid}}">
				{{agentCardOrder$formid}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$formid}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="agentCardOrder.formid" id="formid"  value="{{lz.htm(agentCardOrder.formid)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入代理卡订单的formId</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{formid_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="formid">{{agentCardOrder.formid}}</textarea>
		 		<span>
		 	
			 {{lz.html(agentCardOrder.formid$||agentCardOrder.formid)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$formid}}
					
	{{lz.set("payMoney_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"payMoney"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"payMoney"))))}}
	{{lz.set("payMoney_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$payMoney}}
	<dl lz:if="{{payMoney_editable||payMoney_readonly}}" class="payMoney  " major  ref="payMoney">
		<dt>支付金额:</dt>
		<dd lz:if="{{payMoney_editable}}" input="menoy">
			<lz:block lz:if="{{agentCardOrder$payMoney}}">
				{{agentCardOrder$payMoney}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$payMoney}}">
		 	<input onchange="onkeyup()" onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?(\.)?(\d+)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="agentCardOrder.payMoney" id="payMoney"  value="{{lz.htm(agentCardOrder.payMoney)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入代理卡订单的支付金额</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{payMoney_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="payMoney">{{agentCardOrder.payMoney}}</textarea>
		 		<span>
		 	
			 {{lz.html(agentCardOrder.payMoney$||agentCardOrder.payMoney)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$payMoney}}
					
	{{lz.set("payTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"payTime"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"payTime"))))}}
	{{lz.set("payTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$payTime}}
	<dl lz:if="{{payTime_editable||payTime_readonly}}" class="payTime  " major  ref="payTime">
		<dt>支付时间:</dt>
		<dd lz:if="{{payTime_editable}}" input="datetime">
			<lz:block lz:if="{{agentCardOrder$payTime}}">
				{{agentCardOrder$payTime}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$payTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="agentCardOrder.payTime" id="payTime"  value="{{agentCardOrder.payTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择代理卡订单的支付时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{payTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="payTime">{{agentCardOrder.payTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(agentCardOrder.payTime$||agentCardOrder.payTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$payTime}}
					
	{{lz.set("payStatus_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"payStatus"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"payStatus"))))}}
	{{lz.set("payStatus_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$payStatus}}
	<dl lz:if="{{payStatus_editable||payStatus_readonly}}" class="payStatus  " major  ref="payStatus">
		<dt>支付状态:</dt>
		<dd lz:if="{{payStatus_editable}}" input="select">
			<lz:block lz:if="{{agentCardOrder$payStatus}}">
				{{agentCardOrder$payStatus}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$payStatus}}">
		 	<select class="narrow" id="payStatus" name="agentCardOrder.payStatus">
		 		<option value="">请选择</option>
				<option value="1" selected='{{agentCardOrder.payStatus=="1"?"selected":""}}'>未支付</option>
				<option value="2" selected='{{agentCardOrder.payStatus=="2"?"selected":""}}'>已支付</option>
		 	</select>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择代理卡订单的支付状态</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{payStatus_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="payStatus">{{agentCardOrder.payStatus}}</textarea>
		 		<span>
		 	
			 {{lz.html(agentCardOrder.payStatus$||agentCardOrder.payStatus)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$payStatus}}
					
	{{lz.set("updateTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"updateTime"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"updateTime"))))}}
	{{lz.set("updateTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$updateTime}}
	<dl lz:if="{{updateTime_editable||updateTime_readonly}}" class="updateTime  " major  ref="updateTime">
		<dt>修改时间:</dt>
		<dd lz:if="{{updateTime_editable}}" input="datetime">
			<lz:block lz:if="{{agentCardOrder$updateTime}}">
				{{agentCardOrder$updateTime}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$updateTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="agentCardOrder.updateTime" id="updateTime"  value="{{agentCardOrder.updateTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择代理卡订单的修改时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{updateTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="updateTime">{{agentCardOrder.updateTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(agentCardOrder.updateTime$||agentCardOrder.updateTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$updateTime}}
					
	{{lz.set("addTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"addTime"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"addTime"))))}}
	{{lz.set("addTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$addTime}}
	<dl lz:if="{{addTime_editable||addTime_readonly}}" class="addTime  " major  ref="addTime">
		<dt>添加时间:</dt>
		<dd lz:if="{{addTime_editable}}" input="datetime">
			<lz:block lz:if="{{agentCardOrder$addTime}}">
				{{agentCardOrder$addTime}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$addTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="agentCardOrder.addTime" id="addTime"  value="{{agentCardOrder.addTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择代理卡订单的添加时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{addTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="addTime">{{agentCardOrder.addTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(agentCardOrder.addTime$||agentCardOrder.addTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$addTime}}
					
	{{lz.set("status_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"status"))))&&false)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"status"))))}}
	{{lz.set("status_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$status}}
	<dl lz:if="{{status_editable||status_readonly}}" class="status  " major  ref="status">
		<dt>状　　态:</dt>
		<dd lz:if="{{status_editable}}" input="select">
			<lz:block lz:if="{{agentCardOrder$status}}">
				{{agentCardOrder$status}}
			</lz:block>
			<lz:block lz:if="{{!agentCardOrder$status}}">
		 	<select class="narrow" id="status" name="agentCardOrder.status">
		 		<option value="">请选择</option>
				<option value="1" selected='{{agentCardOrder.status=="1"?"selected":""}}'>正常</option>
				<option value="0" selected='{{agentCardOrder.status=="0"?"selected":""}}'>无效</option>
		 	</select>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择代理卡订单的状态</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{status_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="status">{{agentCardOrder.status}}</textarea>
		 		<span>
		 	
			 {{lz.html(agentCardOrder.status$||agentCardOrder.status)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$status}}
			
			
			
			<div class="line">
				<center lz:if="{{edittype=='insert'}}">
					<a onclick="$('.ribs').show();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:inline;padding: 0px 15px;">点击展开更多编辑项</a>
					<a onclick="$('.ribs').hide();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:none;padding: 0px 15px;">点击收起更多编辑项</a>
				</center>
			</div>
			<center class="buttons">
				<input type="hidden" value="{{agentCardOrder.id}}" name="agentCardOrder.id" id="id" />
			
			<lz:block lz:if="{{edittype=='insert'||edittype=='update'||edittype=='any'||edittype=='inport'}}">
				<button class="button" type="submit">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					保存&nbsp;&nbsp;</button>
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
			
			<lz:block lz:if="{{edittype=='detail'}}">
				
				
				
				
				
				
				
				
				<button lz:if="{{canEdit}}" type="button" class="button" onclick='window.location.href="/admin/agents/agencycardorder.edit.html?edittype=update&id={{agentCardOrder.id}}"'>
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					修改&nbsp;&nbsp;</button>
				
				
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
					
			</center>
			<br/>

		</div>
	</div>
	<div class="foot"></div>		
</form>





 


<!------------------------VIEW_HTML_BOTTOM------------------------>
<!------------------------VIEW_HTML_BOTTOM------------------------>


</body>

<!------------------------VIEW_HTML_FOOTER------------------------>
<!------------------------VIEW_HTML_FOOTER------------------------>
<script>
	
	$(function(){
		if(parent.setit){
			parent.setit("/admin/agents/agencycardorder.edit.html",document.title,"/admin//images/icons/20088256421631277809.png");
		}
	});
	
	function cancel(){
		if(parent.closeHref){
			parent.closeHref("/admin/agents/agencycardorder.edit.html");
		}else{
			$.closeModalDialog();
		}
	}



</script>
</html>